﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

using Cinema.IoC;
using Cinema.Model.Interfaces;

namespace Cinema.Tests.Common
{
    [TestClass]
    public class TestsBase
    {
        protected IUnitOfWork _unitOfWork;

        [TestInitialize]
        public void InitializeAllTests()
        {
            new TestsUnitOfWork().ResetDatabase();

            _unitOfWork = IoCContainer.Get<IUnitOfWork>();
        }
    }
}
